package com.myway.pojo;

import lombok.*;

import java.util.Date;

/**
 * Created by Administrator on 2018/1/5.
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TabHotel {

    private Integer id;

    private String hotelId;

    private Integer star;

    private String picture;

    private String cityCh;

    private String cityEn;

    private String cityGe;

    private String citySzm;

    private Double price;

    private Double highPrice;

    private Integer charactHotel;

    private String houesPicture;

    private Integer hotelCount;

    private Date openDate;

    private Date createTime;

    private Date updateTime;

    private String hotelInfoCh;

    private String keywordCh;

    private String nameCh;

    private String hotelInfoEn;

    private String keywordEn;

    private String nameEn;

    private String hotelInfoGe;

    private String keywordGe;

    private String nameGe;

    private int pageNo=1;

    private int pageSize=10;

    public int getOffset(){
        return (pageNo - 1) * pageSize;
    }

    public Double priceLow;

    public Double priceHigh;

}
